package com.example.attendancesystem_1_8.backendInterface;


public class SigInThread extends Thread
{
    /**
     * @param account 账号
     * @param password 密码
     * @param year 年
     * @param month 月
     * @param day 日
     * @param hour 小时
     * @param minute 分钟
     * @param address 打卡地址
     * @param type 类型
     */

    private String account, password, address, type;
    private int year, month, day, hour, minute;

    public SigInThread(String account,String password,int year,int month,int day,int hour,int minute,String type, String address)
    {
        this.account = account;
        this.password = password;
        this.year = year;
        this.month = month;
        this.day = day;
        this.hour = hour;
        this.minute = minute;
        this.type = type;
        this.address = address;
    }

    @Override
    public synchronized void start()
    {
        super.start();
    }

    @Override
    public void run()
    {
        int result;
        result = SignIn.signIn(account, password, year, month, day, hour, minute, type, address);
    }


}
